package com.thinkverse.user.entity;

import com.thinkverse.user.enums.IdentityClaimStatus;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * identity_claims 表映射
 */
@Data
@NoArgsConstructor
@TableName("identity_claims")
public class IdentityClaim {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String officialEmail;
    private String institution;
    private String researchField;
    private String personalHomepage;
    private String proofFiles; // JSON array string
    private IdentityClaimStatus status;
    private String auditMessage;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
